package com.example.chasshelper.model;

/*
 * 答题记录实体类
 * solution
 * */
public class Solution {
    private Integer solutionId;//id

    private String solutionReferenceAnswer;//参考答案

    private String solutionStudentAnswer;//学生答案

    private String solutionResult;//结果：对、错

    private String solutionTimes;//可答题次数，默认为1

    public Integer getSolutionId() {
        return solutionId;
    }

    public void setSolutionId(Integer solutionId) {
        this.solutionId = solutionId;
    }

    public String getSolutionReferenceAnswer() {
        return solutionReferenceAnswer;
    }

    public void setSolutionReferenceAnswer(String solutionReferenceAnswer) {
        this.solutionReferenceAnswer = solutionReferenceAnswer;
    }

    public String getSolutionStudentAnswer() {
        return solutionStudentAnswer;
    }

    public void setSolutionStudentAnswer(String solutionStudentAnswer) {
        this.solutionStudentAnswer = solutionStudentAnswer;
    }

    public String getSolutionResult() {
        return solutionResult;
    }

    public void setSolutionResult(String solutionResult) {
        this.solutionResult = solutionResult;
    }

    public String getSolutionTimes() {
        return solutionTimes;
    }

    public void setSolutionTimes(String solutionTimes) {
        this.solutionTimes = solutionTimes;
    }

    @Override
    public String toString() {
        return "Solution{" +
                "solutionId=" + solutionId +
                ", solutionReferenceAnswer='" + solutionReferenceAnswer + '\'' +
                ", solutionStudentAnswer='" + solutionStudentAnswer + '\'' +
                ", solutionResult='" + solutionResult + '\'' +
                ", solutionTimes='" + solutionTimes + '\'' +
                '}';
    }
}